package com.lzp.ime.keyboard

import android.content.Context
import android.util.AttributeSet
import com.lzp.ime.BaseKeyBoardView
import com.lzp.ime.Key
import com.lzp.ime.KeyConfig

/**
 * @description:
 * @author: lxp
 * @date: 2021/10/13 下午7:49
 */
class QWERKeyBoardView: BaseKeyBoardView {

    private val keys = mutableListOf<Key>()
    private val keyWidth = KeyConfig.KEY_HEIGHT

    constructor(context: Context?) : super(context)
    constructor(context: Context?, attrs: AttributeSet?) : super(context, attrs)

    init {

    }
    override fun onKeyDown() {
        keys.add(Key("Q",0))
        keys.add(Key("W",0))
        keys.add(Key("E",0))
        keys.add(Key("R",0))
        keys.add(Key("T",0))
        keys.add(Key("Y",0))
        keys.add(Key("U",0))
        keys.add(Key("I",0))
        keys.add(Key("O",0))
        keys.add(Key("P",0))
    }

    override fun onKeyUp() {

    }

    override fun createKey() {

    }
}